home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 295 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: news.softcon.de!guru
  2. From: guru@SoftcoN.de (Matthias Apitz)
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: dial in on unix
  5. Date: 3 Jan 1996 16:48:12 GMT
  6. Organization: SOFTCON Gesellschaft fuer Systementwicklung mbH, Oberhaching, Muenchen, Deutschland
  7. Message-ID: <4cec0c$pg4@boell.softcon.de>
  8. References: <4cdk4v$28tu@serra.unipi.it>
  9. NNTP-Posting-Host: kant.softcon.de
  10. X-Newsreader: NN version 6.5.0 BETA4 #0
  11.  
  12. michelotto@mvxpd5.pd.infn.it (Michele Michelotto) writes:
  13.  
  14.  
  15. >i have a unix machine (a compaq p5/90 running BSDI) connected to internet via
  16. >ethernet. I would like to connect to it via dialin on the modem (usr sporster
  17. >28.8). I can dial out without problem and send initialization string to the
  18. >modem using a program named tip on unix. But I can't use the modem as dial in.
  19. >when another model calls it, it answer after some rings, contracts for one
  20. >or two seconds then drops the communication withour raising the CD line.
  21.  
  22. The getty doesn't know anything about modems. So there are two ways:
  23.  
  24. 1:
  25. configure your modem as it should be to be ready for incoming calls
  26. (like S0=1,...) and write the configuration into the profile, which
  27. is loaded by ATZ0 (see you modem manual for details); the important
  28. thing is to set &D3 to force a reset and the load of profile 0
  29. if DTR goes down (after a session); I don't prefer this method;
  30.  
  31. 2:
  32. use some (public available) software which works like:
  33.  
  34.     for ever do
  35.         send all AT init strings to the modem;
  36.         set S0=0 and wait for incoming "RING";
  37.         pick up the call with ATA;
  38.         if handshake is done
  39.             start /etc/getty 
  40.             wait for session to terminate
  41.         send hangup (e.g. lower DTR)
  42.     done
  43.  
  44. In this case after every session the modem would be re-init
  45. with all necessary AT-cmd's.
  46.  
  47. I do know two of such modem control ( & fax) software: mgetty and HylaFAX.
  48. For more information about HylaFAX see: http://www.vix.com/hylafax/ or
  49. ftp://sgi.com/sgi/fax/
  50.  
  51. Hope that helps.
  52.  
  53.     matthias
  54.